<!--
描述：校区信息-查看组件
开发人：fwb
开发日期：2017年12月11日
-->
<template lang="pug">
    kalix-dialog.user-add(bizKey="schoolzone" ref="kalixBizDialog" v-bind:formModel.sync="formModel" isView)
        div.el-form(slot="dialogFormSlot")
            div.s-flex
                el-form-item.s-flex_item(label="校区代码" prop="xqdm" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.xqdm" readonly)
                el-form-item.s-flex_item(label="校区名称" prop="zwmc" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.zwmc" readonly)
            div.s-flex
                el-form-item.s-flex_item(label="校区简称" prop="zwjc" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.zwjc" readonly)
                el-form-item.s-flex_item(label="校区地址" prop="dz" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.dz" readonly)
            div.s-flex
                el-form-item.s-flex_item(label="邮编" prop="yb" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.yb" readonly)
                el-form-item.s-flex_item(label="火车站" prop="hcz" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.hcz" readonly)
</template>

<script type="text/ecmascript-6">
    import FormModel from './model'

    export default {
        name: 'SchoolZoneView',
        data() {
            return {
                formModel: Object.assign({}, FormModel),
                labelWidth: '140px'
            }
        },
        methods: {}
    }
</script>
